Remove deprecated gdk_app_launch_context_new
authorMatthias Clasen <mclasen@redhat.com>
Tue, 25 Oct 2016 19:27:42 +0000 (15:27 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 25 Oct 2016 19:27:42 +0000 (15:27 -0400)
docs/reference/gdk/gdk4-sections.txt
gdk/gdkapplaunchcontext.c
gdk/gdkapplaunchcontext.h

index d6fda17e70ae869f856ab546b0d54020ea427d12..8a725834202012b6ceec2c5dc147a25cabc7d1d0 100644 (file)
@@ -100,7 +100,6 @@ GdkDisplay
 gdk_display_open
 gdk_display_get_default
 gdk_display_get_name
-gdk_display_get_n_screens
 gdk_display_get_screen
 gdk_display_get_default_screen
 gdk_display_get_device_manager
@@ -1266,7 +1265,6 @@ gdk_wayland_window_get_type
 <TITLE>Application launching</TITLE>
 <FILE>gdkapplaunchcontext</FILE>
 GdkAppLaunchContext
-gdk_app_launch_context_new
 gdk_app_launch_context_set_display
 gdk_app_launch_context_set_screen
 gdk_app_launch_context_set_desktop
index bc2fa6d744253c349e4e1d3a6423a766fff348e3..f28861f8c3089789e66c478b317408feaa2b1f09 100644 (file)
@@ -332,23 +332,6 @@ gdk_app_launch_context_set_icon_name (GdkAppLaunchContext *context,
   context->icon_name = g_strdup (icon_name);
 }
 
-/**
- * gdk_app_launch_context_new:
- *
- * Creates a new #GdkAppLaunchContext.
- *
- * Returns: a new #GdkAppLaunchContext
- *
- * Since: 2.14
- *
- * Deprecated: 3.0: Use gdk_display_get_app_launch_context() instead
- */
-GdkAppLaunchContext *
-gdk_app_launch_context_new (void)
-{
-  return gdk_display_get_app_launch_context (gdk_display_get_default ());
-}
-
 static char *
 gdk_app_launch_context_get_startup_notify_id (GAppLaunchContext *context,
                                               GAppInfo          *info,
index dfcd5d4bfef176e72c351c4ee2624b88b992316e..03545eeeef3db9c9692e1bbe7fdef03f021fb343 100644 (file)
@@ -40,8 +40,6 @@ G_BEGIN_DECLS
 GDK_AVAILABLE_IN_ALL
 GType                gdk_app_launch_context_get_type      (void);
 
-GDK_DEPRECATED_IN_3_0_FOR(gdk_display_get_app_launch_context)
-GdkAppLaunchContext *gdk_app_launch_context_new           (void);
 GDK_DEPRECATED_IN_3_0_FOR(gdk_display_get_app_launch_context)
 void                 gdk_app_launch_context_set_display   (GdkAppLaunchContext *context,
                                                            GdkDisplay          *display);